package interview.oop.company;

public class Accounting// 月末发钱
{
	BankEndPoint bank;

	void payAll()// 每到月末：对所有员工发钱
	{
		Employee.loadAllEmployees();
		for (Employee employee : Employee.allEmployees)
		{
			employee.getPaid(bank);
		}
	}
}